import request from '@/util/request'

export function listDictionaries(data) {
  return request({
    url: '/iot/product/dictionaries/list',
    method: 'post',
    data
  })
}
export function pageGetDictionaries(data) {
  return request({
    url: '/iot/product/dictionaries/pageGet',
    method: 'post',
    data
  })
}
export function deleteDictionaries(data) {
  return request({
    url: '/iot/product/dictionaries/delete',
    method: 'post',
    data
  })
}

export function updateDictionaries(data) {
  return request({
    url: '/iot/product/dictionaries/update',
    method: 'post',
    data
  })
}

export function insertDictionaries(data) {
  return request({
    url: '/iot/product/dictionaries/insert',
    method: 'post',
    data
  })
}

